﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Inicio
{
    public partial class Home : Form
    {
        public Home()
        {
            InitializeComponent();
        }

        private void agregarNuevoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Inicio.Forms.Contacto.AddContact a = new Inicio.Forms.Contacto.AddContact();
            a.MdiParent = this;
            a.AutoSize = true;
            a.WindowState = FormWindowState.Maximized;
            a.Show();
        }

        private void agregarNuevaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Inicio.Forms.Obras.AddObra a = new Inicio.Forms.Obras.AddObra();
            a.MdiParent = this;
            a.AutoSize = true;
            a.WindowState = FormWindowState.Maximized;
            a.Show();
        }

        private void Home_Load(object sender, EventArgs e)
        {
            Form a = new Form();
            a = FindForm();
            a.WindowState = FormWindowState.Maximized;
        }

        private void buscarToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Inicio.Forms.Obras.SearchObra a = new Forms.Obras.SearchObra();
            a.MdiParent = this;
            a.AutoSize = true;
            a.WindowState = FormWindowState.Maximized;
            a.Show();
        }

    }
}
